package com.xjl.app.convert;

import com.xjl.app.EntityDTO.DeviceDTO;
import com.xjl.app.EntityDTO.DevicesCallBackMessageDTO;
import com.xjl.app.domain.EntityDO.DeviceDO;
import com.xjl.app.domain.EntityDO.DevicesCallBackMessageDO;
import com.xjl.app.infra.entity.DevicesCallBackMessage;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface DeviceCallBackMessageDTODOConcert {

    DeviceCallBackMessageDTODOConcert INSTANCE = Mappers.getMapper(DeviceCallBackMessageDTODOConcert.class);

    DevicesCallBackMessageDO deviceDTOtoDeviceDO(DevicesCallBackMessageDTO deviceCallBackMessageDTO);
    DevicesCallBackMessage deviceDTOtoDevice(DevicesCallBackMessageDTO devicesCallBackMessageDTO);
}
